using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;

namespace Nairo.Parser.Dom
{
	public class HtmlBody : HtmlParagraph
	{
		public HtmlBody(FileUnit file, INode parent)
			: base(file, parent)
		{
			this.tagName = "body";
			this.marginTop = 8;
		}
	}
	
	public class HtmlParagraph : HtmlTag
	{
		public HtmlParagraph(FileUnit file, INode parent)
			: base(file, "p", parent, null)
		{
			this.Font=new Font("Times New Roman",12,System.Drawing.FontStyle.Regular);
			this.alignment = AlignValues.Left;
			this.marginTop = 19;
			this.marginBottom = 19;
			this.BackColor=Color.White;
			this.ForeColor=Color.Black;
		}
		
		protected AlignValues alignment = AlignValues.Left;
		protected Font font;
		protected Color backColor, foreColor;
		
		public AlignValues Alignment {
			get { return alignment; }
			set { alignment = value; }
		}
		
		public Font Font {
			get { return font; }
			set { font = value; }
		}
		
		public Color ForeColor {
			get { return foreColor; }
			set { foreColor = value; }
		}
		
		public Color BackColor {
			get { return backColor; }
			set { backColor = value; }
		}
	}
}
